package com.rogo.rogobox.controllers
{
	import com.rogo.mvc.interfaces.INotification;
	import com.rogo.mvc.sub.command.Command;
	import com.rogo.rogobox.models.AccountProxy;
	import com.rogo.rogobox.views.GroupLoginMediator;
	
	public class VerifyCommand extends Command
	{
		public function VerifyCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			var pin:String = notification.param as String;
			var loginProxy:AccountProxy = facade.retrieveProxy(AccountProxy.NAME) as AccountProxy;
			loginProxy.verify(pin);
		}
		
	}
}